<{include file="dcenter/block/header.html"}>
<div class="ucenter_bao_box">
	<p class="title"><{$status[$now_status]}></p>
    <form action="<{link ctl='dcenter/member/zxb:plaintedit' arg0=$plaint.plaint_id}>" mini-form="ucenter" method="post"  onsubmit="return plaint()" ENCTYPE="multipart/form-data">
     <table width="100%" border="0" cellspacing="0" cellpadding="0" class="info">
    	<ul class="ucenter_zxb_rz">
            <li>
                <{if $plaint.yezhu_content}><span class="renz_ico renz_ico1"></span><{else}><span class="renz_ico renz_no_ico1"></span><{/if}>
            </li>
            
            <li>
                <{if $plaint.company_content}><span class="renz_ico renz_ico2"></span><{else}><span class="renz_ico renz_no_ico2"><{/if}>
            </li>
            <li>
                 <{if $plaint.content}><span class="renz_ico renz_ico3"></span><{else}><span class="renz_ico renz_no_ico3"><{/if}>
            </li>
        </ul>
        <{if $plaint.yezhu_content && $plaint.type ==1  && !$plaint.status}>
         	<tr><th>投诉证据：</th>
                <td>
                    <input type="file" name="data[yezhu_photo]" class="input w-300" style="vertical-align:middle;display:inline;"/>
                     <{if $plaint.yezhu_photo}><img src="<{$pager.img}>/<{$plaint.yezhu_photo}>" photo="<{$pager.img}>/<{$plaint.yezhu_photo}>" class="wh-30" style="vertical-align:middle;display:inline;"/><{/if}>
                </td>
            </tr>
            <tr><th>投诉内容：</th>
                <td>
                     <textarea id='content' name="data[yezhu_content]" kindeditor="simple" style="width:600px;height:100px;"><{$plaint.yezhu_content}></textarea>
                </td>
            </tr>
         
        	<tr><th></th><td><input type="submit" value="修改提交" class="green_btn" /></td></tr>
        	<{if $plaint.company_content}>
            	<tr><th>反馈证据：</th>
                    <td>
                         <{if $plaint.company_photo}><img src="<{$pager.img}>/<{$plaint.company_photo}>" photo="<{$pager.img}>/<{$plaint.company_photo}>" class="wh-30" style="vertical-align:middle;display:inline;"/><{/if}>
                    </td>
                </tr>
                <tr><th>反馈内容：</th>
                    <td><{$plaint.company_content}>
                    </td>
                </tr>
            <{/if}>
        <{elseif $plaint.company_content && $plaint.type ==2  && !$plaint.status}>
            <tr><th>投诉证据：</th>
            <td>
                 <{if $plaint.company_photo}><img src="<{$pager.img}>/<{$plaint.company_photo}>" photo="<{$pager.img}>/<{$plaint.company_photo}>" class="wh-30" style="vertical-align:middle;display:inline;"/><{/if}>
            </td>
            </tr>
            <tr><th>投诉内容：</th>
            <td><{$plaint.company_content}></td>
            </tr>
            <tr><th>我的证据：</th>
            <td>
                <input type="file" name="data[yezhu_photo]" class="input w-300" style="vertical-align:middle;display:inline;"/>
                 <{if $plaint.yezhu_photo}><img src="<{$pager.img}>/<{$plaint.yezhu_photo}>" photo="<{$pager.img}>/<{$plaint.yezhu_photo}>" class="wh-30" style="vertical-align:middle;display:inline;"/><{/if}>
            </td>
            </tr>
            <tr><th>我的内容：</th>
            <td>
                 <textarea id='content' name="data[yezhu_content]" kindeditor="simple" style="width:600px;height:100px;"><{$plaint.yezhu_content}></textarea>
            </td>
            </tr>
         
        	<tr><th></th><td><input type="submit" value="确认提交" class="green_btn" /></td></tr>

        <{elseif $plaint.yezhu_content && $plaint.company_content && $plaint.status == 1 && $plaint.type ==1}>
            <tr><th>投诉证据：</th>
            	<td><{if $plaint.yezhu_photo}><img src="<{$pager.img}>/<{$plaint.yezhu_photo}>" photo="<{$pager.img}>/<{$plaint.yezhu_photo}>" class="wh-30" style="vertical-align:middle;display:inline;"/><{/if}></td>
            </tr>
            <tr><th>投诉内容：</th>
            	<td><{$plaint.yezhu_content}></td>
            </tr>
            <tr><th>投诉时间：</th>
            	<td><{$plaint.yezhu_time|format}></td>
            </tr>
            <tr><th>反馈证据：</th>
                <td><{if $plaint.company_photo}><img src="<{$pager.img}>/<{$plaint.company_photo}>" photo="<{$pager.img}>/<{$plaint.company_photo}>" class="wh-30" style="vertical-align:middle;display:inline;"/><{/if}></td>
            </tr>
            <tr><th>反馈内容：</th>
                <td><{$plaint.company_content}></td>
            </tr>
            <tr><th>反馈时间：</th>
                <td><{$plaint.company_time|format}> </td>
            </tr>
            <tr><th>平台内容：</th>
                <td><{$plaint.content}></td>
            </tr>
            <tr><th>审核时间：</th>
                <td><{$plaint.time|format}></td>
            </tr>
        <{elseif $plaint.yezhu_content && $plaint.company_content && $plaint.status == 1 && $plaint.type ==2}>
            <tr><th>投诉证据：</th>
                <td><{if $plaint.company_photo}><img src="<{$pager.img}>/<{$plaint.company_photo}>" photo="<{$pager.img}>/<{$plaint.company_photo}>" class="wh-30" style="vertical-align:middle;display:inline;"/><{/if}></td>
            </tr>
            <tr><th>投诉内容：</th>
            	<td><{$plaint.company_content}></td>
            </tr>
            <tr><th>投诉时间：</th>
            	<td><{$plaint.company_time|format}> </td>
            </tr>
            <tr>
            <th>反馈证据：</th>
           		<td><{if $plaint.yezhu_photo}><img src="<{$pager.img}>/<{$plaint.yezhu_photo}>" photo="<{$pager.img}>/<{$plaint.yezhu_photo}>" class="wh-30" style="vertical-align:middle;display:inline;"/><{/if}></td>  
            </tr>
            <tr><th>反馈内容：</th>
               <td><{$plaint.yezhu_content}></td>
            </tr>
            <tr><th>反馈时间：</th>
            	<td><{$plaint.yezhu_time|format}></td>
            </tr>
            <tr><th>平台内容：</th>
                <td><{$plaint.content}></td>
            </tr>
            <tr><th>审核时间：</th>
                <td><{$plaint.time|format}></td>
            </tr>
        <{/if}>
    
    </table>
 </form> 
</div>  
<script language="javascript" type="text/javascript">
	function plaint() {
		var content = $("#content").val();
		if(content == ''){
			Widget.MsgBox.error("内容不能为空");
			return false;  	
		}
        return true;  
    }  
</script>
<{include file="dcenter/block/footer.html"}>